<div class="empty_hight"></div>
<form action="index.php?c=zy_plan_reply&m={%$act%}&post=1" method=post name=frm enctype="multipart/form-data" onSubmit="return Validator.Validate(this,3)">	
<table width="90%" name="tab_form" id="tab_form" class="tab_form2" align="center" border="0" cellpadding="0" cellspacing="1">
<thead>
	<th colspan="6" class="acenter">投资计划批复</th>
</thead>
<tbody>
<tr>
	<td class="tab_bold">机器型号</td>
	<td colspan=3>
		{%if $v_mc_arr%}
		<table name="" width="96%" border=0 align="left">
			{%foreach item=v_mc key=key from=$v_mc_arr%}
			<tr>
				<td><input type="checkbox" name="mc_id_arr[]" value ="{%$v_mc.v_mc_id%}" {% if $act == 'edit' && $v_mc.is_reply %}checked{%/if%}>&nbsp;&nbsp;{%$v_mc.mc_cn_name%}</td>
				<td width="30%"><input type="text" name="reply_num_{%$v_mc.v_mc_id%}" size="15 "value="{%$v_mc.plan_reply_mc_number%}">&nbsp;个</td>
				<td width="30%"><input type="text" name="reply_price_{%$v_mc.v_mc_id%}" size="15 "value="{%$v_mc.plan_reply_mc_all_cost%}">&nbsp;总价<br></td>
			</tr>
			{%/foreach%}
		</table>
		{%/if%}
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">批复单号</td>
	<td><input type=text name="plan_reply_no" size=30 value='{%$plan_reply_no%}' dataType="Require" ></td>
	<td width="20%" class="tab_bold">批复金额</td>
	<td><input type=text name="plan_reply_price" size=20 value='{%$plan_reply_price%}'  dataType="Currency"></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">申请日期</td>
	<td>
	<input type=text name="plan_reply_time" size=20 value='{%$plan_reply_time|date_format:"%Y-%m-%d"%}' id="plan_reply_time" readonly>
	<script>
			Calendar.setup({
				inputField     :    "plan_reply_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
	<td width="20%" class="tab_bold">批复日期</td>
	<td>
	<input type=text name="plan_reply" id="plan_reply" size=20 value='{%$plan_reply|date_format:"%Y-%m-%d"%}' readonly>
	<script>
			Calendar.setup({
				inputField     :    "plan_reply",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>

<tr>
	<td width="20%" class="tab_bold">批复备注</td>
	<td colspan=3>
		<textarea cols="70" rows="4" id="plan_reply_content" name="plan_reply_content" >{%$plan_reply_content%}</textarea>	
	</td>
</tr>
<tr>
	<td class="tab_bold">附件</td>
	<td colspan=3><input type="file" name="file_path" id="file_name" size="50" /></td>
</tr>

<tr>
	<td colspan=4 align=center>
		<input type="hidden" name="investment_no" size=30 value='{%$investment_no%}'>
		<input type=hidden name='plan_reply_id' id='plan_reply_id' value='{%$plan_reply_id%}'>
		<input type=submit value="提交" class="btn_form">&nbsp;&nbsp;
		<input type=reset value="重置" class="btn_form">
	</td>
</tr>
</tbody>
</table>
</form>